projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aab1295
)
(record_char): Add BLOCK_INPUT around fwrite.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 20 Mar 2007 08:50:10 +0000
(08:50 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 20 Mar 2007 08:50:10 +0000
(08:50 +0000)
(Fopen_dribble_file): Add BLOCK_INPUT around fclose.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 1a41affc58f2881e4c87c31f98b519048824b2bc..f7a0c018d631816349f955d95a64536526fc8e32 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-3525,6
+3525,7
@@
record_char (c)
If you, dear reader, have a better idea, you've got the source. :-) */
if (dribble)
{
+ BLOCK_INPUT;
if (INTEGERP (c))
{
if (XUINT (c) < 0x100)
@@
-3550,6
+3551,7
@@
record_char (c)
}
fflush (dribble);
+ UNBLOCK_INPUT;
}
}
@@
-10436,7
+10438,9
@@
If FILE is nil, close any open dribble file. */)
{
if (dribble)
{
+ BLOCK_INPUT;
fclose (dribble);
+ UNBLOCK_INPUT;
dribble = 0;
}
if (!NILP (file))